<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<% String path = request.getContextPath();
	request.setAttribute("path",path);%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>HP-HR - 查看离休员工信息</title>
	<meta name="keywords" content="">
	<meta name="description" content="">

	<link rel="shortcut icon" href="favicon.ico">
	<link href="${path}/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="${path}/css/font-awesome.css?v=4.4.0" rel="stylesheet">

	<!-- Data Tables -->
	<link href="${path}/css/plugins/dataTables/dataTables.bootstrap.css"
		rel="stylesheet">
	<link href="${path}/css/animate.css" rel="stylesheet">
	<link href="${path}/css/style.css?v=4.1.0" rel="stylesheet">

</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>查看离休员工信息</h5>
					</div>
					<div class="ibox-content">
						<form method="post" class="form-horizontal" action="">
						    <div class="form-group">
						    	<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">工号：</label>
							        <p class="form-control-static">${history.employeeNumber}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">姓名：</label>
							        <p class="form-control-static">${history.name}</p>
							    </div>
							</div>
							<div class="form-group">
						    	<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">性别：</label>
							        <p class="form-control-static">${history.gender}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">出生日期：</label>
							        <p class="form-control-static">
										<fmt:formatDate value="${history.birthday}" pattern="yyyy-MM-dd"></fmt:formatDate>
									</p>
							    </div>
							</div>
							<div class="form-group">
								<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">电话：</label>
							        <p class="form-control-static">${history.telephone}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">邮箱：</label>
							        <p class="form-control-static">${history.email}</p>
							    </div>
							</div>
							<div class="form-group">
								<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">籍贯：</label>
							        <p class="form-control-static">${history.address}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">学历：</label>
							        <p class="form-control-static">${history.education}</p>
							    </div>
							</div>
							<div class="form-group">
						    	<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">部门：</label>
							        <p class="form-control-static">${history.department.name}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">职称：</label>
							        <p class="form-control-static">${history.position.name}</p>
							    </div>
							</div>
							<div class="form-group">
						    	<div class="col-md-1"></div>
						    	<div class="col-md-4">
							        <label class="col-sm-8 control-label">入职时间：</label>
							        <p class="form-control-static">
										<fmt:formatDate value="${history.inTime}" pattern="yyyy-MM-dd"></fmt:formatDate>
									</p>
						   		</div>
						    	<div class="col-md-4">
							        <label class="col-sm-5 control-label">离休时间：</label>
							        <p class="form-control-static">
										<fmt:formatDate value="${history.outTime}" pattern="yyyy-MM-dd"></fmt:formatDate>
									</p>
							    </div>
							</div>
							<div class="form-group">
						    	<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">状态：</label>
							        <p class="form-control-static">${history.status}</p>
						   		</div>
						   		<div class="col-md-4">
							        <label class="col-sm-5 control-label">家庭住址：</label>
							        <p class="form-control-static">${history.home}</p>
							    </div>
							</div>
							<div class="form-group">
						    	<div class="col-md-1"></div>
								<div class="col-md-4">
							        <label class="col-sm-8 control-label">备注：</label>
							        <p class="form-control-static">${history.notes}</p>
						   		</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<div class="col-sm-4 col-sm-offset-8">
									<a href="${path}/history/listPage.do?pageNo=1" class="btn btn-info">返&nbsp;&nbsp;回</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- 全局js -->
	<script src="${path}/js/jquery.min.js?v=2.1.4"></script>
	<script src="${path}/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="${path}/js/plugins/jeditable/jquery.jeditable.js"></script>

	<!-- Data Tables -->
	<script src="${path}/js/plugins/dataTables/jquery.dataTables.js"></script>
	<script src="${path}/js/plugins/dataTables/dataTables.bootstrap.js"></script>

	<!-- 自定义js -->
	<script src="${path}/js/content.js?v=1.0.0"></script>

</body>
</html>
